package com.yimils.core.goods.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.goods.dto.PictureAddReq;
import com.yimils.core.goods.dto.PictureUpdateReq;
import com.yimils.core.goods.entity.PictureEntity;
import com.yimils.core.goods.vo.PictureRes;

import java.util.List;

public interface PictureService extends IService<PictureEntity> {

    Boolean savePicture(PictureAddReq pictureAddReq);

    List<PictureEntity> savePictureList(List<String> videoUrls);

    Boolean updatePicture(PictureUpdateReq pictureUpdateReq);

    Boolean deletePicture(List<Long> pictureIds);

    List<PictureRes> listPicture();

    List<PictureEntity> listPicture(List<Long> pictureIds);
}
